import * as tfyis from "@tensorflow/tfjs-vis";

window.onload = () => {
    // console.log(11);
    const xs = [1, 2, 3, 4];
    const ys = [1, 3, 5, 7];
    tfyis.render.scatterplot(
        {surface: document.getElementById("root")},
        { 
            values: xs.map((x, i) => ({ x, y: ys[i]})),
            series: ["first", "second"],
        }
    )

}